#!/usr/bin/python
import sys, os

# Add a custom Python path.
sys.path.insert(0, "/dir/to/projects/repsheet/apps")
sys.path.insert(0, "/dir/to/projects")

# Switch to the directory of your project.
#os.chdir("/home/mandric/dev/")

# Set the DJANGO_SETTINGS_MODULE environment variable.
os.environ['DJANGO_SETTINGS_MODULE'] = "repsheet.settings"

from django.core.servers.fastcgi import runfastcgi
runfastcgi(method="threaded", daemonize="false")
